package study.cell_game.scenes;

import org.andengine.entity.primitive.Rectangle;
import org.andengine.entity.scene.CameraScene;
import org.andengine.entity.scene.Scene;
import org.andengine.entity.scene.background.SpriteBackground;
import org.andengine.entity.sprite.Sprite;

import study.cell_game.activity.GameActivity;

public class LevelSelectScene extends CameraScene {
	
	
	public LevelSelectScene() {
		super(GameActivity.mCamera);
		
		final Rectangle button1 = new Rectangle(100, 100, 50, 50, GameActivity.main.getVertexBufferObjectManager())
		{
			public boolean onAreaTouched(org.andengine.input.touch.TouchEvent pSceneTouchEvent, float pTouchAreaLocalX, float pTouchAreaLocalY) 
			{   
				
				return true;
			}
		};
		
		attachChild(button1);
		registerTouchArea(button1);
	}
	
	public void Show()
	{
		setVisible(true);
		setIgnoreUpdate(false);
	}
	
	public void Hide()
	{
		setVisible(false);
		setIgnoreUpdate(true);
	}

}
